﻿namespace KaroEngine.Exceptions
{
    public class MoveToException : InvalidMoveException
    {
        public MoveToException()
                : base("Cannot move to this position")
        {
        }

        public MoveToException(Move move)
                : base("Cannot move from " + move.PositionFrom + " to " + move.PositionTo + " using tile " + move.TilePositionToMove, move)
        {
        }
    }
}